/*
 * TLC_Functions.h
 *
 * Created: 10.07.2012 21:23:10
 *  Author: Martin
 */ 


#ifndef TLC_FUNCTIONS_H_
#define TLC_FUNCTIONS_H_

#include <avr/io.h>
#include "IODef_AtTiny861.h"
#include "GlobalDefines.h"
#include "EEPROM_values.h"
#include "USI.h"

class TLC_Functions
{

public:
void set_dotCorrection(void);
unsigned char* get_dotCorrection();

private:
void get_color_chip(void);
void read_ee_dotcorrection(void);
void usi_send_dotCorrection(void);
void usi_send_grayscale(void);
unsigned char Chip_ColorSelect;
unsigned char dotCor_value[16];


};


#endif /* TLC_FUNCTIONS_H_ */